<?php
  function _console_OP_getMethod_value(){
    echo "<div id=\"_console_getValue\" style=\"border:solid 1px black;background-color:#f8afaf\">";
    echo "<p style=\"margin-top:1px;margin-bottom:1px;\">{key-value pairs from form:}</p>";
    foreach($_GET as $key=>$value){
      if($value != NULL){
        echo "<p style=\"margin-top:0px;margin-bottom:0px;\">" .
             "Key: $key =>Value: $value " . '(' . gettype($value) . ')' .
             "</p>";
      }else{
        echo "<p style=\"margin-top:0px;margin-bottom:0px;\">" .
             "Key: $key =>Value:{NULL}" .
             "</p>";
      }
    }
    echo "</div>";
  }

  function _console_OP_sqlStatment($sqlStatment){
		echo "<p style=\"border:solid 1px black;background-color:#f8afaf;margin-top:1px;margin-bottom:1px;\">sql query statment is: " .
         $sqlStatment .
         "</p>";
	}

  function _console_OP_queryRecordNum($queryResult){
		echo "<p style=\"border:solid 1px black;background-color:#f8afaf;margin-top:1px;margin-bottom:1px;\">" .
         $queryResult->num_rows .
         " row result have turned!</p>";
	}
?>
